<?php

# PMB Online
# Aplikasi PMB Online untuk Pendaftaran Calon Mahasiswa di PT/PTS Indonesia
# 
# version 1.0
# class rincian_biaya
# file
# created Feb 14, 2013 3:18:15 PM
# 
# (c)2012, arif.laksito@gmail.com

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<h1>Rincian Biaya</h1>
<table style="width: 95%">  
    <tr>
        <td style="width: 30%">No.Pendaftaran</td>
        <td><?php echo $mhs['nodaf']?></td>
    </tr>    
    <tr>
        <td>Jenis Pendaftaran</td>
        <td><?php echo ($mhs['status_daftar']==1)?'Pindahan':'Reguler'?></td>
    </tr>    
    <tr>
        <td>Gelombang Pendaftaran</td>
        <td><?php echo $mhs['nama_gel']?></td>
    </tr>    
    <tr>
        <td>Nama Lengkap</td>
        <td><?php echo $mhs['nama_lengkap']?></td>
    </tr>    
    <tr>
        <td>Tempat &amp; Tgl Lahir</td>
        <td><?php echo $mhs['tempat_lahir'].', '.mdate('%d %M %Y',mysql_to_unix($mhs['tgl_lahir']))?></td>
    </tr>     
    <tr>
        <td>Tanggal Daftar</td>
        <td><?php echo mdate('%d %M %Y',mysql_to_unix($mhs['tgl_daftar']))?></td>
    </tr>          
    <tr>
        <td>Diterima di Jurusan</td>
        <td><?php echo $jur['jenjang'].'-'.$jur['nama_jurusan']?></td>
    </tr>
</table>    
<br />

<?php $total = ($bia['spa']+$bia['oka']+$bia['spp_tetap'])-$mhs['beasiswa']?>

<h4>Detail Pembayaran</h4>
<table style="width: 70%" cellpadding="0" cellspacing="0" border="0" class="table table-bordered">
    <tr>
        <td>Biaya SPA</td>
        <td></td>
        <td style="text-align: right"><?php echo number_format($bia['spa']) ?></td>        
    </tr>
    <tr>
        <td>Biaya OKA</td>
        <td></td>
        <td style="text-align: right"><?php echo number_format($bia['oka']) ?></td>        
    </tr>
    <tr>
        <td>Biaya SPP Tetap</td>
        <td></td>
        <td style="text-align: right"><?php echo number_format($bia['spp_tetap']) ?></td>        
    </tr>
    <tr>
        <td>Beasiswa</td>
        <td style="text-align: right"><?php echo number_format($mhs['beasiswa']) ?></td>        
        <td></td>        
    </tr>
    <tr>
        <th>Total Biaya Reg. Awal</th>
        <th colspan="2" style="text-align: right"><?php echo number_format($total)?></th>                
    </tr>
</table>

<p>Batas Akhir Pembayaran: <?php echo mdate('%d %M %Y',mysql_to_unix($mhs['end_bayar']))?></p>
Yogyakarta, <?php echo mdate('%d %M %Y',mysql_to_unix($mhs['tgl_lulus']))?><br />
Panitia PMB STIMYKPN,
<br /><br /><br /><br />
            
<u> &nbsp; <?php echo (isset($sess['name']))?$sess['name']:$mhs['cs_lulus']?> &nbsp; </u>